A = [0.5 0.5 0.25;
    0.25 0 0.25;
    0.25 0.5 0.5];

xtoday = [1;0;0]; % rainy

for i=1:10
    xtomorrow = A * xtoday
    xtoday = xtomorrow;
end